package com.recharge.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 凭证核销记录
 * </p>
 *
 * @author Reagan
 * @since 2020-10-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("business_voucher_record")
public class VoucherRecordEntity implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId("id")
    private String id;

    @TableField("card_voucher_id")
    private String cardVoucherId;

    @TableField("provider_id")
    private String providerId;

    @TableField("order_id")
    private String orderId;

    @TableField("order_no")
    private String orderNo;

    @TableField("provider_order_no")
    private String providerOrderNo;

    @TableField("provider_order_id")
    private String providerOrderId;

    @TableField("verification_date")
    private Date verificationDate;

    @TableField("returnCode")
    private String returnCode;

    /**
     * -1.卡密无效 0.充值失败 1.充值成功
     */
    @TableField("status")
    private Integer status;


}
